package com.woniuxy.exception.user;

public enum UserExceptionCode {
    USER_NO_REGISTER(5001,"用户未注册"),
    USER_PWD_NOT_MATCH(5002,"密码不正确"),

    USER_NOT_LOGIN(5005,"用户未登录"),

    USER_NOT_ACCESS(5006,"用户无权限"),

    USER_NOT_EXIST(5007,"管理员账户已删除或被禁用");



    Integer code;
     String message;

    UserExceptionCode() {
    }

    UserExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String exceptionName) {
        this.message = exceptionName;
    }
}
